package com.jy.rhin.infra.cda.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFJCVo;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFVo;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFYYVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TangNiaoBSFMapper extends BaseMapper<Object> {

    @Select("select *  from JK_TangNiaoBSFDJ  ${ew.customSqlSegment}")
    TangNiaoBSFVo getOne(@Param(Constants.WRAPPER) QueryWrapper<TangNiaoBSFVo> queryWrapper);

    @Select("select *  from JK_TangNiaoBSFYYJL  ${ew.customSqlSegment}")
    List<TangNiaoBSFYYVo> getYongYao(@Param(Constants.WRAPPER) QueryWrapper<TangNiaoBSFYYVo> queryWrapper);

    @Select("select *  from JK_TangNiaoBSFFZJC  ${ew.customSqlSegment}")
    List<TangNiaoBSFJCVo> getJianCha(@Param(Constants.WRAPPER) QueryWrapper<TangNiaoBSFJCVo> queryWrapper);

}
